/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.cellphone;

/**
 *
 * @author Zeus
 */
public class CellphoneImpl implements Cellphone {

    private double airtimeBalance = 0;
    private String cellNumber = "";

    @Override
    public double checkBalance() {
        return airtimeBalance;
    }

    @Override
    public String selectNumber(String number) {
        cellNumber = number;
        return cellNumber;
    }

    @Override
    public void recharge(double airtime) {
        airtimeBalance += airtime;
    }
}
